﻿               <MudCard Elevation="4">
                   <MudCardHeader>
                       <CardHeaderAvatar>
                           <MudAvatar Image="@AvatarLink" Size="Size.Large" Class="mud-elevation-4"/>
                       </CardHeaderAvatar>
                       <CardHeaderContent>
                           <MudText Typo="Typo.body1">@Firstname @Lastname</MudText>
                           <MudText Typo="Typo.body2">@Contributor</MudText>
                       </CardHeaderContent>
                       <CardHeaderActions>
                           <MudIconButton Icon="@Icons.Custom.Brands.GitHub" Link="@GithubLink" Color="Color.Dark" Target="_blank"/>
                       </CardHeaderActions>
                   </MudCardHeader>
                   @if (ChildContent != null)
                   {
                       <MudCardContent Class="pt-0">
                           @ChildContent
                       </MudCardContent>
                   }
               </MudCard>

@code {
    [Parameter] public string AvatarLink { get; set; }
    [Parameter] public string GithubLink { get; set; }
    [Parameter] public string Firstname { get; set; }
    [Parameter] public string Lastname { get; set; }

    [Parameter]
    public string Contributor { get; set; } = "Contributor";
    [Parameter] public RenderFragment ChildContent { get; set; }

}
